package com.drama.api.sys.authority.dao;

import com.drama.api.sys.authority.domain.po.SysAuthorityPO;
import com.drama.api.sys.authority.domain.vo.SysAuthorityTreeSearchVO;
import com.drama.api.sys.authority.domain.vo.SysAuthorityTreeVO;
import org.springframework.stereotype.Repository;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

@Repository
public interface SysAuthorityDao extends Mapper<SysAuthorityPO> {
    List<SysAuthorityTreeVO> getTreeList(SysAuthorityTreeSearchVO searchVO);

    List<String> getAuthorityIds(SysAuthorityTreeSearchVO sysAuthorityTreeSearchVO);
}